Update abs_x/y before moving native children
authorAlexander Larsson <alexl@redhat.com>
Thu, 18 Dec 2008 10:53:26 +0000 (11:53 +0100)
committerAlexander Larsson <alex@localhost.localdomain>
Thu, 2 Apr 2009 08:15:17 +0000 (10:15 +0200)
gdk/gdkwindow.c

index b1a14203c0ff8815f533bfcdc7d452f34cf78335..4e4051f3e09351afb2ce9aa57618a37eaf87e671 100644 (file)
@@ -5821,10 +5821,10 @@ gdk_window_scroll (GdkWindow *window,
       tmp_list = tmp_list->next;
     }
 
-  move_native_children (private);
-  
   recompute_visible_regions (private, FALSE, TRUE);
 
+  move_native_children (private);
+  
   /* Then copy the actual bits of the window w/ child windows */
   
   impl_window = gdk_window_get_impl_window (private);